body,
html {
    width: 100%;
    height: 100%;
}

body {
    background-color: rgb(72, 160, 248);
}


/* logo图标 */

.logo_pic {
    position: absolute;
    left: 300px;
    top: 10px;
}


/* -------------登录框布局------------ */


/* 登录框居中对齐 */

.login {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    background-color: rgba(174, 243, 106, 0.7);
    box-shadow: 7px 7px 7px 7px rgba(44, 54, 65, 0.4);
}


/* 标题 */

.login h3 {
    height: 30px;
    line-height: 30px;
    margin-top: 10px;
    font-size: 24px;
    text-align: center;
}


/* 输入框样式 */

.layui-form {
    margin: 0 30px;
}

.layui-input-block a {
    position: absolute;
    top: 10px;
    right: 20px;
}

.layui-form-item {
    padding: 0;
    margin: 0;
}

.layui-icon {
    position: absolute;
    top: 29px;
    left: 12px;
}

.layui-input {
    padding-left: 35px;
}


/* ---------------登录框样式结束---------------- */


/* --------------注册框-------------- */


/* //和登录框位置一致 先隐藏  点击去注册后显示 */

.register {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    background-color: rgba(174, 243, 106, 0.7);
    box-shadow: 7px 7px 7px 7px rgba(44, 54, 65, 0.4);
}

.register h3 {
    margin-top: 10px;
    height: 30px;
    line-height: 30px;
    font-size: 24px;
    text-align: center;
}